/* 系统设置项代码常量 */
package yl.hs.bmipfull.utils;

import java.util.List;

/**
 * @category 全局Key常量
 *
 * @author 谢景广
 *
 */
public class CK {

    public static  String getVersionCode(String versionName)
    {
        var code = "";
        switch (versionName)
        {
            case "旗舰版"-> code = "ultimate";
            case "企业版"-> code = "enterprise";
            case "标准版"-> code="stander";
        }
        return code;
    }
    public static  String getVersionName(String versionCode)
    {
        var name = "";
        switch (versionCode)
        {
            case "stander"-> name = "标准版";
            case "enterprise"-> name = "企业版";
            case "ultimate"-> name="旗舰版";
        }
        return name;
    }
    /**
     * 会话中保存用户信息的键名称
     */
    public static final String Remote_Order_Path="RemoteOrderPath";
    public static final String company_id = "companyid";
    public static final String SESSION_USER = "hs-user";
    public static final String Active_Data="SysBlueAreaCode";
    public static final String Active_Mobile_Data="SysMobileBlueAreaCode";
    public static final String Active_Construction_Data="SysConstructionBlueAreaCode";
    public static final String Active_Driver_Data="SysDriverBlueAreaCode";
    public static final String Active_Dealer_Data="SysDealerBlueAreaCode";
    public static final String Active_Supplier_Data="SysSupplierBlueAreaCode";
    public static final String Active_Server="http://47.95.254.118:9003";
    public static final String Sjzf="Sjzf";
    /**
     *
     */
    public static final String USER_AUTHORIZE_MENULINKS = "UserAuthorizeMenuLinks";
    public static final String USER_AUTHORIZE_BTNSLINKS = "UserAuthorizeBtnsLinks";
    public static final String SYS_AUTHORIZE_LINKS = "sysAuthorizeLinks";
    /**
     * 合同控制通知人员编号
     */
    public static final String Contract_Control_Notice_UserSN = "ContractControlNoticeUserSN";
    /**
     * 合同控制通知角色编号
     */
    public static final String Contract_Control_Notice_RoleSN = "ContractControlNoticeRoleSN";
    /**
     * 合同控制通知部门编号
     */
    public static final String Contract_Control_Notice_DutySN = "ContractControlNoticeDutySN";
    public static final String ByteEncryptKey="Z8&N/59241";
    /**
     * 客户端存储用户信息的cookie名称
     */
    public static final String HS_CKAUTHORIZE_USER = "huasha_authorize_code";
    public final static String TOKEN_HEADER_KEY = "ylhsAccessToken";
    public static final String HSERP_SYSTEM_SETTING = "huasha_erpsystem_AllSetting";

    public static final String Construction = "construction";
    public static final String UpLoadFilePath = "UpLoadFilePath";
    /**
     * 生产任务页面地址
     */
    public static String Production_Task_Feature="/yield/ProductionTask";
    /**
     * 结算管理页面地址
     */
    public static String Product_Ship_Settle_Feature="";
    //以下属性需要在系统设置中添加设置信息
    /**
     * 无人磅房系统同一原材入库车辆进厂时间间隔参数代码，值为整数类型，单位为分钟
     */
    public static final String NoPersonWeight_RAWTruckIN_Interval="RAWTruckIN_Interval";
    /**
     * 是否开通验料功能
     */
    public static final String RM_Check_Action = "RM_Check_Action";
    /**
     * 商砼编号设置代码
     */
    public static final String BetonSysCode = "BETONSN";
    /**
     * 砂浆编号设置代码
     */
    public static final String MortarSnSysCode="SJCPSN";
    /**
     * 超管账户设置代码
     */
    public static  final String SupperAdminKey = "supperAdministrator";
    /**
     * 系统版本设置代码
     */
    public static final String SysVersion="SystemVersion";
    public static final String SysVersionName="SystemVersionName";

    public static  final String Service_User = "Service_User";
    /**
     * 合同管理设置代码
     */
    public static final String ContractManagerCode = "ContractManager";
    /**
     * 车辆余料计算起始误差量
     */
    public static final String Truck_Remainder_Quantity="Truck_Remainder_Quantity";

    /**
     * 车辆回厂间隔时间
     */
    public static final String Truck_Back_Interval = "TruckBackInterval";
    /**
     * 判断车辆是载产品的重量增加值 单位吨
     */
    public static final String Truck_ISLoadProduct_Quantity="Truck_ISLoadProduct_Quantity";
    /**
     * 微信APPID设置代码
     */
    public static final String WeChat_AppID="WeChatAppID";
    /**
     * 微信AppSecret设置代码
     */
    public static final String Wechat_AppSecret="Wechat_AppSecret";
    /**
     * 云平台企业编号设置代码
     */
    public static final String Cloud_EnterpriseSN="EnterpriseSN";
    /**
     * 云平台企业编号设置代码
     */
    public static final String Cloud_ServerSN="CloudServerSN";

    /**
     * 极光推送Appkey
     */
    public static final String JGApp_Key="JiGuangAppKey";

    /**
     * 极光推送Secret
     */
    public static final String JGApp_Secret="JiGuangSecret";

    /**
     * 外卖原材类别编号
     */
    public static final String SaleRawMatailSN="TakeOutRawMaterials";
    /**
     * 骨料破碎类别编号
     */
    public static final String  AggregateTakeoutSN="AggregateTakeoutSN";

    /**
     * 是否集团采购模式
     */
    public static final String GROUP_Purchase = "GROUP_Purchase";
    /**
     * 是否集团销售模式
     */
    public static final String GROUP_Sale="GROUP_Sale";

    /**
     * 站点数据标识
     */
    public static final String SiteDataFlag = "SiteDataFlag";
    /**
     * GPS登录过后的token
     */
    public static  String GpsToken = null;
    /**
     * GPS车辆id信息
     */
    public static List<String> CarList = null;
    /**
     * GPS车辆信息集合
     */
    public static List<Object> locationCar = null;
    /**
     * 当前天气信息
     */
    public static String  Weather="暂无数据";
    public static final String SaleDutySN = "SaleDutySN";

    public static final String DriverDutySN = "DriverDutySN";
    /**
     *骨料原材种类编号
     */
    public static final String AggregateSN = "Aggregate";
    /**
     *粉料原材种类编号
     */
    public static final String PowderSN = "Powder";
    /**
     *外加剂原材种类编号
     */
    public static final String AdmixtureSN = "Admixture";

    public static final String lqcpsn="lqcpsn";

}
